package work.algorithm.tree;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author shenminglong@kedacom.com
 * @date 2021-11-30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TreeEntity {
    //值
    public String value;
    //所有的子节点
    public List<TreeEntity> children;

}
